Revature Interview questions | 90 Questions with 100% Correct Answers | Updated & Verified
What is a getter/setter? What is their purpose? - Functions that modify private variables. How do you select all tables in a database? - SELECT* FROM sys.Tables or SELECT*FROMinformation_s How do you link a style sheet to an html document? - By using the link element link rel="stylesheet" type="text/css" href="css/" Can we overload or override static methods in java? - Yes, we can overload static methods by having the same method but with different parameters in the sub class. No, we can't override a static method because static methods are done at compile time while method overriding only occurs at runtime.
Document information
- Uploaded on
- February 27, 2023
- Number of pages
- 16
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers