May 7, 2021

Tag: java interview questions with answers

Java Interview Questions For Freshers
Interview Questions, Java, Java Interview Questions

Java Interview Questions For Freshers

Java Interview Questions For Freshers 1.What is the difference between an Interface and an Abstract class? ANSWER: Abstract class can have instance methods that implement a default behavior. An Interface can only declare constants and instance methods, but cannot implement default behavior and all methods are implicitly abstract. An interface has all public members and […]

Read More
Java

Java Interview Questions and Answers

Java Interview Questions and Answers 1. What gives java it’s “write once and run anywhere” nature? ANS: All Java programs are compiled into class files that contain byte codes. These byte codes can be run in any platform and hence java is said to be platform independent. 2. Explain working of Java Virtual Machine (JVM)? […]

Read More