![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions comments View Question | Asked by : rajendra kunar netha Which of the option correctly describes the comments in java1) // -- single line comment2) /* --*/ multiple line comment 3) /** --*/ documentation A) 1, 2B) 2, 3C) 3, 1D) 1, 2, 3 Which of the following statements correctly describes the relation between an object and the instance variable it stores? (Select multiple) A) Each new object has its own distinctive set of instance variablesB) Each object has a copy of the instance variables of its classC) the instance variable of each object are seperate from the variables A) It's a concrete classB) It's a superclassC) It's a type of abstract class A) TrueB) False Latest Answer : I got 29/30 and the only wrong answer was this which i think is incorrect evaluationbecause java inline coments can also begin with //so please reframe the question and remove the word "must begin" and replace the term by "can begin"RegardsH.Sridhar ... A) One B) Two C) ThreeD) Four Explanation: There are 3 types of comments namely Single-line, Multi-line and Documentation comment Latest Answer : what is the syntax of doc comment ? i was thinking only 2 types of comments ... I face problem while doing Servlet program. I successfully get .class file of Servlet's .java file, When I copy(deploy) the .class file in "servlets-example->WEB-INF->classes " folder& map in web.XML file , & run it does not run . When I check,in Tomcat's manager.HTML file , The running option for servlets-examples is turned false, It happens many times.What shall I do to recover?? Please answer me???? Read Answers (1) | Asked by : Abdul Sayeed Choice 1: Collect profiling and debugging statistics. Choice 2: Modify the number of bits a double variable uses. Choice 3 : Set the initial memory allocation pool size. Choice 4 :Modify the garbage View Question | Asked by : sesi Class B extends A { int flag = 0; public int getFlag() { return flag; } protected void setFlag(int newSetting) { flag = newSetting; } } Which statement describes the relationship between classes A and B in the code above? class B extends A { int flag = 0; public int getFlag() { return flag; } protected void setFlag(int newSetting) { flag = newSetting; } } Which statement describes the relationship between View Question | Asked by : sesi Which of the following statements correctly describes an interface? It's a concrete classIt's a superclassIt's a type of abstract class View Question | Asked by : Namrata Tags : Abstract
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||