Core Java - Interview Questions and Answers for 'Class files' | Search Interview Question - javasearch.buggybread.com
Questions
Search
List By Company
List By Topic
Legacy
Tests
Repository
DashBoard
Java
Java 8
Java 7
Java Abbreviations
OCJP / SCJP
Class List
New in Java 8
Java Exceptions
Spring Exceptions
Java Enums
Java 8 Lambda
Java 8 java.time
Big Data
Best Of Java
Discussion
Search
Subscribe
Search Interview Questions
More than 3000 questions in repository.
There are more than 900 unanswered questions.
Click here
and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company
Label / Company / Text
Search
Submit Question
Core Java - Interview Questions and Answers for 'Class files' - 2 question(s) found
- Order By Newest
Q1.
Upon compiling the following class, What .class files will get created
public class OuterClass{
class InnerClass{
}
}
Core Java
Ans. OuterClass.class AND OuterClass$InnerClass.class
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
 class files  compilation  compile  inner classes   nested classes
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Related Questions
How does volatile affect code optimization by compiler?
How compiler handles the exceptions in overriding ?
Which of the following is false about Constructors ?
Is JVM, a compiler or interpretor ?
Is it possible to compile and run a Java program without writing main( ) method?
If we try to add duplicate key to the HashMap, What will happen ?
Which of the following is not a dependency scope in Maven ?
Why can't we create an instance of abstract class ? Why is it restricted by compiler ?
Why doesn't this code give compile time error when we are clearly trying to add an integer element to an array of Strings
Object[] strArray = new String[2];
strArray[0] = 5;
Will Compiler creates a default no argument constructor if we specify only multi argument constructor ?
Q2.
Does Java generate .class file for interfaces ?
Core Java
Ans. Yes
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
 .class file  java byte code  interfaces
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Related Questions
Which is of the following is NOT TRUE for JVM ?
Does Scala code compile to be Java Byte Code ?
Help us and Others Improve. Please let us know the questions asked in any of your previous interview.
Any input from you will be highly appreciated and It will unlock the application for 10 more requests.
Company Name:
Questions Asked: