What type is (x+y)?
double x = 39.21;
float y = 2.1;
double x = 39.21;
float y = 2.1;
Anonymous Quiz
7%
int
25%
float
49%
double
19%
not compile
š¤2š1
Code snippet
import java.util.ArrayList;
import java.util.List;
public class JavaSETest {
public static void main(String[] args) {
List<Integer> elements = new ArrayList<>();
elements.add(10);
int firstElmnt = elements.get(1);
System.out.println(firstElmnt);
} }
What is the result of the code snippet above?
Anonymous Quiz
26%
null
31%
10
20%
0
22%
An IndexOutOfBoundsException is thrown at runtime
Bytecode is in a file with which extension?
Anonymous Quiz
25%
.bytecode
20%
.bytes
20%
.class
8%
.exe
17%
.javac
11%
.java
š„2
OOPS IN JAVA .pdf
3.9 MB
Oops in Java ā
QUICK Capsule ā
QUICK Capsule ā
Java Tokens.pdf
2.9 MB
Java ( Tokens ) ā
Java Complete Notes š.pdf
3.9 MB
Java Complete Notes ā
Java Methods.pdf
1.3 MB
Java (Methods) ā
Java Notes .pdf
4.9 MB
Java Core Notes ā
Javascript Handwritten Notes .pdf
5 MB
Javascript Handwritten ā
Notes
Notes
Java Cheatsheet.pdf
922.4 KB
Java Cheatsheet ā
Basic Java Interview Questions.pdf
2.4 MB
Basic Java Interview Questions š„
ā¤2š1
Forwarded from Coding Expert (ššš„š¢š ššš§š š«š)
⢠Variables, data types, and operators
⢠Control structures (if-else, loops)
⢠Functions/methods
⢠Basic data structures (arrays, lists, stacks, queues)
⢠Setup Java development environment (JDK, IDEs like IntelliJ IDEA or Eclipse)
⢠Basic syntax and structure of Java programs
⢠Object-Oriented Programming (OOP) concepts: classes, objects, inheritance, polymorphism, encapsulation, abstraction
⢠Exception handling
⢠Input/Output (I/O) operations
⢠Java Collections Framework (List, Set, Map)
⢠Multithreading and Concurrency
⢠Generics and Enums
⢠Lambda expressions and Stream API
⢠Java 8+ features (functional programming concepts, new date and time API)
⢠Annotations and Reflection
⢠Relational Databases: MySQL, PostgreSQL
⢠SQL: CRUD operations, Joins,
⢠Indexes, Transactions
⢠JDBC (Java Database Connectivity)
⢠NoSQL Databases: MongoDB, Cassandra
⢠Understanding of when and why to use NoSQL databases
1. Core Spring Concepts:
⢠Spring Boot for rapid application development
⢠Dependency Injection (DI) and Inversion of Control (IoC)
2. Spring Modules:
⢠Spring Data JPA (for database interactions)
⢠Spring MVC (for creating web applications)
⢠Spring Security (for authentication and authorization)
⢠Spring Cloud (for developing cloud- native applications)
3. RESTful Web Services:
⢠Building REST APIs with Spring Boot
⢠Understanding of REST principles and HTTP methods (GET, POST, PUT, DELETE)
⢠JSON (de) serialization with Jackson
1. RESTful APIs:
⢠Best practices for designing and documenting APIs (Swagger/ OpenAPI)
⢠Microservices Architecture:
⢠Fundamentals of microservices
⢠Communication between microservices (REST, gRPC, messaging)
⢠Service discovery and configuration management
⢠Using Spring Cloud components (Eureka, Config Server, etc.)
- Keep it simple: Break down complex logic into smaller methods.
- Single Responsibility Principle (SRP): Each class should handle one responsibility.
- Don't Repeat Yourself (DRY): Avoid duplication by extracting reusable code.
- Proper formatting: Use consistent indentation and formatting for readability.
Please open Telegram to view this post
VIEW IN TELEGRAM
ā¤3š„3š1š„°1