Core Java Notes with Questions
Summary:
The syllabus of Core Java covers various topics related to fundamental language concepts, flow control, OOPs concepts, Java packages, exception handling, arrays, collections framework, generics, inner classes, multithreading, file operations, serialization, and more.
The syllabus focuses on fundamental language concepts, including identifiers, data types, literals, variables (non-static, static, local), type casting, and flow control. It then delves into OOPs concepts such as methods, method signature, inheritance, method overloading and overriding, interface, static and instance control flow, object type casting, constructor, data hiding, abstraction, encapsulation, and polymorphism.
The Java. lang package is explored, covering classes like Object, String, StringBuffer, StringBuilder, Wrapper classes, and concepts like autoboxing and auto unboxing. Exception handling is discussed, including the runtime stack mechanism, default exception handler, try-catch blocks, and finally, block, throws and throw keywords.
The Collections framework is a significant part of the syllabus, covering concepts like Collection, List (ArrayList, LinkedList, Vector, Stack), Set (HashSet, LinkedHashSet, SortedSet, NavigableSet, TreeSet), Map, Queue, and concepts like Comparable and Comparator.
Other topics include generics, inner classes (normal, method local, anonymous, static nested), multithreading, file operations, serialization and deserialization. The syllabus concludes with a mention of Java not being a pure object-oriented language due to the inclusion of primitive data types and a comparison of Java with C++ regarding platform dependence, features, and memory management.
Excerpt:
Core Java Notes with Questions
Syllabus of core java
——————————
1. Funadamental language
identifiers
data types
literals
variables
–> non-static variable
–> static variable
–> local variable
type casting
flow control
—————
1. selection statement
–> if else
–> switch statement
2. an iterative statement
–> for loop
–> while loop
–> Do while loop
break
continue
OOPS concept
———————–
methods
method signature
inheritance
method overloading
–> var arg method
method overriding
–> co variant concept
–> modifiers
–> final
–> abstract modifier
method hiding
interface
static control flow
instance control flow
Object type casting
constructor
data hiding
abstraction
encapsulation
polymorphism
————-
java.lang package
—————————
Object class
methods of Object class
toString()
hashCode()
equals()
finalize()
getClass()
clone()
wait()
wait(long ms)
wait(long ms, int ns)
notify()
notifyAll()
String class
StringBuffer class
StringBuilder class
Wrapper classes
Autoboxing and Autounboxing
Reviews