Langsung ke konten utama

Postingan

Menampilkan postingan dari Juli, 2017

Section 3 Input/Output Fundamentals Oracle Java Programming

Section 3 Input/Output Fundamentals                 (Answer all questions in this section) 1.            The new Paths class lets you resolve .. (double dot) path notation. True or false? Mark for                 True (*)                 False 2.            The normalize() method removes extraneous elements from a qualified path. True or false?                  True (*)                 False 3.            The Files class lets you check for file ...

Section 3 Exception and assertion Oracle Java Programming

Section 3 Exception and assertion                 (Answer all questions in this section) 1.            What is the definition of a logic error?    Mark for Review                 Wrong syntax that will be caught at compile time.                 Bugs in code that make your program run different than expected (*)                 Computer malfunction that makes your code run incorrectly.                 Something that causes your computer to crash. 2.            Is this the correct syntax ...

Section 3 String processing Oracle Java Programming

Section 3 String processing                 (Answer all questions in this section) 1.            Which of the following are true about parsing a String?   Mark for Review                                                 (Choose all correct answers)                       It is a way of dividing a string into a set of sub-strings. (*)                 It is not possible to parse a string using regular expressions.    ...

Section 3 Generics and collection Oracle Java Programming

Section 3 Generics and collection                 (Answer all questions in this section) 1.            A generic class is a type of class that associates one or more non-specific Java types with it. The types are determined when an object of that class is created. True or false?    Mark for Review                 True (*)                 False 2.            Which of the following are true about a Type Interface Diamond?                                     ...

Section 3 java class design Oracle Java Programming

Sesction 3 java class design                 (Answer all questions in this section) 1.            An interface and abstract class are different names for the same type of class structure. True or false?     Mark for Review                 True                 False (*) 2.            Modeling classes for a business problem requires understanding the business not Java. True or false?       Mark for Review (1) Points                 True               ...

Section 2 Oracle Java Programming

Section 2 (Answer all questions in this section) 1.            Why is it helpful for new programmers to read pre-written code?              Mark for Review (Choose all correct answers)                       Learn new programming techniques. (*)                 Meet new programmers.                 Understand code written by other programmers.                 It is not helpful to read code written by other programmers. 2.            Reading great code is just as important for a prog...

Section 1 Oracle Java Programming

Section 1 (Answer all questions in this section) 1.            If a class is in a package, the system's CLASSPATH must be altered to access the class. True or false?                 True                 False (*) 2.            How would you make an instance of Car in a class that did import the vehicle package below?                 Car c = new Car(); (*)                 vehicle.Car c=new Car();                 vehicle.Car c=new vehicle.Car();          ...