Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Andrea Bailey

Andrea Bailey

Community Learner
Share
203Questions
201Answers
410.6KViews on questions

Does Oracle own Java?

The answer to your question - does oracle own Java is - Sun Microsystems created Java. Oracle bought Sun, and thus they became the owners of Java. Java (JVM and JDK) is open source, and you are free to use it. This is under the GPL though, and if they do any changes to the actual JVM or JDK, they will have to release…

Java

Answered Oct 14, 2022 · 1.5K Views Read answer →

What is the significance of the helper class java?

A Helper class java is a lesser known code smell where a coder has identified some miscellaneous, commonly used operations and attempted to make them reusable by lumping them together in an unnatural grouping. Successive developers have then come onto the project and not realised that the helper class exists, and have…

Java

Answered Oct 12, 2022 · 1.0K Views Read answer →

Explain the working of the Java calculator gui.

Control.java I don't like this name as it's not specific. I'd suggest 'CalculatorApp' instead for the Java calculator gui. You don't need the infinite loop. The application will already continue until the user closes the program.// you can remove all of this: boolean exit = false; while(!exit) { }Calculator.java If…

Java

Answered Oct 11, 2022 · 1.5K Views Read answer →

Explain the pig latin translator java.

Regarding the pig latin translator java, I would suggest the following points to make this programme more object-oriented: Try using a collection object provided by Java instead of using arrayString[] word = userInput.split(" "); could be List words = Arrays.asList(userInput.split(" ")); or using external library…

Java

Answered Oct 10, 2022 · 1.2K Views Read answer →

How to have postgresql restart under centOS 7?

I found out that to have postgresql restart you need to specify the exact name for the PostgreSQL service, which you can find under the list of services, using systemctl (also see this post): systemctl list-units|grep postgresql postgresql-10.service loaded active running PostgreSQL 10 database serverThen you can use…

SQL Server

Answered Oct 6, 2022 · 1.6K Views Read answer →

How to find-bak?

To find-bak - If you can find it in Windows Explorer, then you should write a RESTORE DATABASE command instead of relying on the clunky GUI to find it for you. Who knows what code is going on in there and why it might not be able to find the file - sorry I only have a workaround and not a solution. Also ensure that…

SQL Server

Answered Oct 6, 2022 · 1.1K Views Read answer →

How to setup postgres initdb with a custom data directory?

postgresql initdb setup doesn't create a systemd service file. You must create it from scratch /lib/systemd/system/postgresql-14.service or create config file for default systemd service file. For example /lib/systemd/system/db-test.service, which contain path to desired db # Location of database…

SQL Server

Answered Oct 6, 2022 · 9.5K Views Read answer →

How to select sql max date?

To select sql max date - select LAST_UPDATE_DATE_TIME as LAST_UPDATE, SCHOOL_CODE, PERSON_ID from SCHOOL_STAFF WHERE STAFF_TYPE_NAME='Principal' AND LAST_UPDATE_DATE_TIME = (SELECT MAX(LAST_UPDATE_DATE_TIME) FROM SCHOOL_STAFF s2 WHERE PERSON_ID = s2.PERSON_ID) ShareIm

SQL Server

Answered Oct 6, 2022 · 741 Views Read answer →

How can I use the lwc playground in the lightning component library?

Sometime back salesforce deprecated LWC playground: With all the innovation WebComponents.dev brings to the LWC ecosystem this does mean that we will be phasing out our LWC Playground on February 1, 2021. Salesforce invested in WebComponents.dev as a template for LWC. It is a better alternative than a playground.

Salesforce

Answered Oct 6, 2022 · 1.7K Views Read answer →

Why do we use group by 1 2 in SQL query?

We use group by 1 2 because - Consider below case: +------------+--------------+-----------+ | date | services | downloads | +------------+--------------+-----------+ | 2016-05-31 | Apps | 1 | | 2016-05-31 | Applications | 1 | | 2016-05-31 | Applications | 1 | | 2016-05-31 | Apps | 1 | | 2016-05-31 | Videos | 1 | |…

SQL Server

Answered Oct 4, 2022 · 1.1K Views Read answer →

How to resolve the error - must declare the scalar variable @id?

To resolve the error - must declare the scalar variable @id - @id as part of the execution variable @sql is doing nothing. It is not tied to the declared and set variable unless you build the string around it, i.e. concatenate it to the string like this: set @sql = 'insert into #temphold(dateadded,dateupdated,id) '…

SQL Server

Answered Oct 4, 2022 · 13.3K Views Read answer →

How to get postgresql list views?

If you only need this interactively while in psql, you can also use dv to show postgresql list views, or dm for materialised views. Or use with +, like dm+ for example to show some additional information (mostly useful to see materialised view size).

SQL Server

Answered Sep 30, 2022 · 886 Views Read answer →

More members from the Cyber Security community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.