current location:Home > Technical Articles > Java

  • Template
    Template
    The template is one of the behavioral design patterns, an abstract class defines a set of ways/templates to execute its methods. Its subclasses can override/implement these methods but the invocation is to be in the same way as defined by an abstrac
    javaTutorial 579 2024-09-22 22:16:02
  • Proxy
    Proxy
    Proxy is one of the structural design patterns, It is used to create a surrogate or placeholder object, which is used to control the access of original object. It acts as an intermediary adding extra level of control, and can perform extra actions be
    javaTutorial 358 2024-09-22 22:15:41
  • State
    State
    The State is one of the Behavioral design patterns, In this the behavior of a class changes based on its state. Key concepts: Context: Class/object whose behavior changes based on state State: abstract state Concrete State: representing various stat
    javaTutorial 631 2024-09-22 22:15:32
  • Are We Sacrificing Readability for Conciseness in Modern Java?
    Are We Sacrificing Readability for Conciseness in Modern Java?
    Hey everyone! I’ve been working with Java’s lambda expressions lately, and something has been bothering me: are we sacrificing readability for the sake of conciseness? I often see developers cramming everything into a single line, especially when u
    javaTutorial 913 2024-09-22 20:15:38
  • How To Pass Data To Another Activity
    How To Pass Data To Another Activity
    there are two activities MainActivity.java SettingActivity.java MainActivity.java public void launchSettings(View v){ //Launch a new activity Intent i = new Intent(this,SettingActivity.class); String message = ((Edit
    javaTutorial 578 2024-09-22 20:15:32
  • @Qualifier Annotation Spring Boot Explained
    @Qualifier Annotation Spring Boot Explained
    The @Qualifier annotation in Spring Boot is used to resolve ambiguity when you have multiple beans of the same type but want to inject a specific one. It helps Spring determine which bean should be autowired when multiple candidates exist. Here are
    javaTutorial 1046 2024-09-22 18:17:32
  • Launch new Activity(Intent)
    Launch new Activity(Intent)
    XML file: java file: pub
    javaTutorial 212 2024-09-22 14:15:33
  • Get Text From Input Field..
    Get Text From Input Field..
    Java Code public class MainActivity extends AppCompatActivity { Button btn; TextView textView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.lay
    javaTutorial 286 2024-09-22 14:15:11
  • Next goal
    Next goal
    I’ve just completed my thesis with an impressive score of 9.1/10, which I’m really proud of. The deadline for submitting to REV-ECIT 2024, with the aim of turning my thesis into a published journal article, is September 30th. I’m currently refining m
    javaTutorial 957 2024-09-22 06:19:38
  • SSH Tunnelling with Java
    SSH Tunnelling with Java
    You heave a sigh of relief, as the QA has approved a long-awaited feature for deployment on Prod. However, as a part of the process, it is first deployed on the UAT env, where there are test accounts that can be used to certify the feature works outs
    javaTutorial 687 2024-09-22 06:16:03
  • How to Disable Button in Android Studio
    How to Disable Button in Android Studio
    *First Way: * button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { view.setEnabled(false); } }); Second way: Without setOnClickListner p
    javaTutorial 273 2024-09-21 22:15:02
  • Xor of N numbers
    Xor of N numbers
    Given an integer number N, find the exor of the range 1 to N exor of 1 ^ 2 ^ 3 ^4 ^.....N; Brute force approach: Tc:O(n) Sc:O(1) public int findExor(int N){ //naive/brute force approach: int val = 0; for(int i=1;i
    javaTutorial 255 2024-09-21 20:15:32
  • the LivinGrimoire software design pattern
    the LivinGrimoire software design pattern
    the LivinGrimoire is a software design pattern, that absorbs skills. 1 line of code is needed to add a skill (similar to the matrix learn scene). advantages of the LivinGrimoire include: can prioritize skills against one another, pause and resume
    javaTutorial 629 2024-09-21 16:20:12
  • Overlapping methods
    Overlapping methods
    Overlapping methods allow Java to support polymorphism at runtime. Polymorphism is essential in object-oriented programming, allowing a general class to define common methods and subclasses to implement specific versions.
    javaTutorial 529 2024-09-21 14:18:32
  • A classe Object
    A classe Object
    Superclass of all classes: Object is the implicit superclass of all classes in Java. All classes inherit from Object, so a reference variable of type Object can reference any object or array. Methods defined in
    javaTutorial 464 2024-09-21 14:18:05

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!