About 50 results
Open links in new tab
  1. Reverse a string in Java - Stack Overflow

    I have "Hello World" kept in a String variable named hi. I need to print it, but reversed. How can I do this? I understand there is some kind of a function already built-in into Java that does th...

  2. Store array of objects into text file in Java - Stack Overflow

    Apr 8, 2020 · I need help with saving an array to a text file. So I have the following array private Passenger[] queueArray = new Passenger[30]; and this is the class that I have public class …

  3. I am currently working on Turbo c++ to be precise on c language

    Mar 12, 2021 · This is my program code: and the desired output is this (copied from https://www.javatpoint.com/c-gets-puts): and the output I am receiving is this I would be very ...

  4. java - Static Binding and Dynamic Binding - Stack Overflow

    May 20, 2013 · I am really confused about dynamic binding and static binding. I have read that determining the type of an object at compile time is called static binding and determining it at runtime …

  5. android - Beginning Programming: How do I pass an ArrayAdapter to ...

    Sep 12, 2020 · I am trying to understand what other alternative I have if I can't write this code: arrayAdapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1,bluetoothDevices); …

  6. Defining field and its data type as a MAP in application.yaml

    Oct 13, 2022 · Is it possible to define datatype for fields in application.yaml in spring boot? Eg: ingestiondata: NAME: String WEIGHT: Double DOB: Date Basically I want to externalize the data type

  7. In Spring Boot what is the difference between CrudRepository and ...

    Apr 29, 2022 · when building respositories in spring, in my repository interface i extend it using the below extends CrudRepository<EntityName, EntityType> where EntityName is the name of my Entity …

  8. java - Where are the methods of the Iterator Interface actually ...

    Feb 17, 2022 · Following the hierarchy of the Collections Framework in Java, I struggle to understand where these 2 methods of the Iterator Interface are being implemented. boolean hasNext(); E next(); …

  9. How am i able to change interface variable value in a class which is ...

    Oct 7, 2018 · You are actually changing the local variable in the main function. This variable is different from the one you declared in the interface which is indeed public, static and final by default. But there …

  10. What is the use of initialize object through three different ways in ...

    Feb 20, 2017 · What is the significance of using three different method for a single task. It's the same significance as any task in software development: there are often multiple ways of writing code that …