0% found this document useful (0 votes)
2 views1 page

Java

The document outlines key Java syntax concepts essential for programming in Java. It includes topics such as class and method declarations, control flow statements, loops, arrays, inheritance, exception handling, and string manipulation. Additionally, it covers advanced topics like abstract classes, interfaces, and thread creation.

Uploaded by

malleshkatra95
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Java

The document outlines key Java syntax concepts essential for programming in Java. It includes topics such as class and method declarations, control flow statements, loops, arrays, inheritance, exception handling, and string manipulation. Additionally, it covers advanced topics like abstract classes, interfaces, and thread creation.

Uploaded by

malleshkatra95
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Java Syntax Concepts - Assignment List

1. Class declaration
2. Main method declaration
3. Variable declaration (primitive & reference types)
4. Constants using final
5. If-else statement
6. Switch-case statement
7. For loop
8. While loop
9. Do-while loop
10. Break and continue
11. Array declaration and initialization
12. Enhanced for loop (for-each)
13. Methods (definition & calling)
14. Method overloading
15. Constructors
16. Constructor overloading
17. Inheritance (extends)
18. Method overriding
19. super keyword usage
20. this keyword usage
21. Abstract classes & abstract methods
22. Interfaces
23. Static variables and methods
24. Exception handling (try-catch-finally)
25. Packages & import statement
26. String declaration and initialization
27. Important String methods (length, charAt, substring, equals, compareTo, toUpperCase,
toLowerCase, trim, replace)
28. StringBuilder & StringBuffer usage
29. Thread creation by extending Thread class
30. Thread creation by implementing Runnable interface

You might also like